package org.exam.blog.service;


import com.github.pagehelper.PageInfo;
import org.exam.blog.domain.Article;
import org.exam.blog.query.MessageQuery;


import java.util.List;


public interface IArticleService {
    void add(Article article);

    void delete(Long id);

    Article get(Long id);

    List<Article> getAll();
    List<Article> getAll1();

    void update(Article article);

    void patchDelete(Long[] ids);

    PageInfo<Article> queryPage(MessageQuery messageQuery);


    List<Article> dependenceArticles(Long id);

}

